<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
    <META http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/layer/3.1.0/layer.js"></script>

</head>
<body>
<p>
    <a href="http://www.runoob.com" target="iframe_a">RUNOOB.COM</a>


    <a href="http://www.baidu.com" target="iframe_a">BAIDU.COM</a>
    <a href="/admin/bus/e3" target="iframe_a">e3</a>

</p>

<br>
<iframe  width="100%"  height="500" frameborder="0" name="iframe_a"></iframe>


<script>



    $(function(){

        $("a").on("click", function () {

            layer.load(2);



        });


        $("iframe").on("load", function () {
            console.log(55);
            layer.closeAll('loading');
        });

    });


</script>

</body>
</html>